import unittest
import HTMLTestRunner
from finance.case.add_turnover import AddTurnover
from finance.case.revise_turnover import ReviseTurnover
suite=unittest.TestSuite()
suite.addTests([unittest.TestLoader().loadTestsFromTestCase(ReviseTurnover),unittest.TestLoader().loadTestsFromTestCase(AddTurnover)])
with open (r'E:\python\finance\report\report.html',mode='w',encoding='utf8') as file:
    runner=HTMLTestRunner.HTMLTestRunner(stream=file,verbosity=1,title=' 报告标题',description="描述")
    runner.run(suite)